<?php
class DAO_Category
{
    /**
     * 获取类别名称
     */
    public static function GetNameByID($id)
    {
        if($data=DB::GetRowByID('category','Identifying:'.$id))
            return $data['Name'];
        else
            return NULL;
    }
}
?>